#!/bin/bash

#. ./preparar

#Configuracion de Host de Glew
IF=${1:-"eth0"}

ifconfig $IF down
ifconfig $IF 10.34.1.80 netmask 255.255.255.224
route del -net 10.34.1.64/27 $IF # Elimino *
route add -net 10.34.1.64/27 gw 10.34.1.80 metric 0 $IF # Glew
route add -net 10.34.13.128/25 gw 10.34.1.65 metric 1 $IF #Escobar
route add -net 10.34.1.128/28 gw 10.34.1.65 metric 1 $IF #Formosa
route add -net 10.34.13.0/30 gw 10.34.1.65 metric 2 $IF #Salta
route add -net 10.34.1.32/27 gw 10.34.1.65 metric 3 $IF #Avellaneda

